package ssx.demo.bootautoconfigdemo.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Component;

@Component
@Import({B.class})
public class A {
    @Autowired
    B b;
    public void fun(){
        System.out.println(b.bb);
    }
}
